package com.lm.pojo;

import org.springframework.stereotype.Component;

/**
 * @Component 等价于<bean id="cat" class="com.lm.pojo.Cat"/>
 */
@Component
public class Cat {
    public void jiao(){
        System.out.println("猫叫了.....");
    }
}
